package com.dengyafei.bean;

import java.util.Date;

public class GraduateEntity {
    private Integer gid;

    private String gname;

    private String gnickname;

    private String gpassword;

    private String gsex;

    private Integer gage;

    private Date gbirthday;

    private String gphone;

    private String gschoolname;

    private String email;

    public GraduateEntity(Integer gid, String gname, String gnickname, String gpassword, String gsex, Integer gage, Date gbirthday, String gphone, String gschoolname, String email) {
        this.gid = gid;
        this.gname = gname;
        this.gnickname = gnickname;
        this.gpassword = gpassword;
        this.gsex = gsex;
        this.gage = gage;
        this.gbirthday = gbirthday;
        this.gphone = gphone;
        this.gschoolname = gschoolname;
        this.email = email;
    }

    public GraduateEntity() {
        super();
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname == null ? null : gname.trim();
    }

    public String getGnickname() {
        return gnickname;
    }

    public void setGnickname(String gnickname) {
        this.gnickname = gnickname == null ? null : gnickname.trim();
    }

    public String getGpassword() {
        return gpassword;
    }

    public void setGpassword(String gpassword) {
        this.gpassword = gpassword == null ? null : gpassword.trim();
    }

    public String getGsex() {
        return gsex;
    }

    public void setGsex(String gsex) {
        this.gsex = gsex == null ? null : gsex.trim();
    }

    public Integer getGage() {
        return gage;
    }

    public void setGage(Integer gage) {
        this.gage = gage;
    }

    public Date getGbirthday() {
        return gbirthday;
    }

    public void setGbirthday(Date gbirthday) {
        this.gbirthday = gbirthday;
    }

    public String getGphone() {
        return gphone;
    }

    public void setGphone(String gphone) {
        this.gphone = gphone == null ? null : gphone.trim();
    }

    public String getGschoolname() {
        return gschoolname;
    }

    public void setGschoolname(String gschoolname) {
        this.gschoolname = gschoolname == null ? null : gschoolname.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }
}